package com.biu.billiards.model.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xue
 * @since 2023-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OrderAdmin extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 支付方式
     */
    private String playWay;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 优惠卷昵称
     */
    private String couponName;

    /**
     * 优惠券价格
     */
    private BigDecimal couponPrice;

    /**
     * 实付金额
     */
    private BigDecimal actualPrice;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 原价
     */
    private BigDecimal goodsPrice;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 用户余额
     */
    private BigDecimal userBalance;

    /**
     * 手机号
     */
    private String phone;


    /**
     * 商品ID
     */
    private Integer goodsId;

    /**
     * 充值金额
     */
    private BigDecimal payPrice;



    private Integer billiardsNumber;

    private Integer deviceNumber;

    private Integer billiardsId;

    private Integer billiardsHour;

    /**
     * 门店id
     */
    private Integer shopId;

    /**
     * 订单类型
     */
    private Integer orderType;



    /**
     * 商家分得金额
     */
    private BigDecimal shopActualSum;


    /**
     * 推荐人分得金额
     */
    private BigDecimal recommendActualSum;


    /**
     * 推荐人分得金额
     */
    private Integer recommendId;


    private String hardwareId;


    /**
     * 平台实际收益
     */
    private BigDecimal platformActualSum;


    private Integer feeType;

}
